var mongoose = require('../bootstrap/mongodb');
var userModel = mongoose.Schema({
    nikename: String,
    emil: String,
    password: String,
    phone: String,
    sex: {
        type: String,
        default: '男'
    },
    address: {
        type: String,
        default: 0
    },
    birthday: {
        type: String,
        default: 0
    },
    headeImg: {
        type: String,
        default: 0
    },
    aboutMe: {
        type: String,
        default: 0
    }
})
module.exports = mongoose.model('bookshopuser', userModel)